﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/masAdmin.master" AutoEventWireup="true"
    CodeFile="ContentProductDetail.aspx.cs" Inherits="admin_ContentProductDetail" ValidateRequest="false" %>

<%@ Import Namespace="CommonTagTime" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagename" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content" runat="Server">
    <script src="../scripts/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript" language="javascript">

        tinyMCE.init({
            // General options
            mode: "exact",
            elements: "<%=txtContent.ClientID %>",
            theme: "advanced",

            // Theme options

            theme_advanced_buttons1: "save,newdocument,|,bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
            theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,insertdate,inserttime,preview,|,forecolor,backcolor",
            theme_advanced_buttons3: "hr,removeformat,visualaid,|,sub,sup",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left"
        });

    </script>
    <div class="content-box-header">
        <h3>
            Content Product Detail
        </h3>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <table border="0" cellpadding="0" cellspacing="0" class="table100">
                <tr>
                    <td colspan="2">
                        <span class="commentRequireInputText">
                            <%=Resources.Resource.LBL_REQUIREMENT%>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="left">
                        <asp:ValidationSummary ID="vsumContentProduct" runat="server" ShowMessageBox="true"
                            ShowSummary="false" CssClass="errorMessage" />
                        <asp:Label ID="lblErrorMessage" runat="server" CssClass="errorMessage"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Language
                    </td>
                    <td colspan="3">
                         <asp:DropDownList ID="drpLanguage" Width="200px" runat="server">
                            <asp:ListItem Text="Vietnam" Value="0"></asp:ListItem>
                            <asp:ListItem Text="English" Value="1"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Url(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td colspan="3">
                        products/
                         <asp:TextBox ID="txtUrl" MaxLength="255" Width="640px" runat="server">
                        </asp:TextBox>
                          <asp:RequiredFieldValidator ID="reqUrl" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Url is require" Display="Dynamic" ControlToValidate="txtUrl">*</asp:RequiredFieldValidator>
                     
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        Name(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtName" MaxLength="50" Width="700px" runat="server">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqName" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Name is require" Display="Dynamic" ControlToValidate="txtName">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        Title Page(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtTitle" MaxLength="255" Width="700px" runat="server">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqTitle" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="Title is require" Display="Dynamic" ControlToValidate="txtTitle">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle">
                        <asp:Label ID="lblMetaDescription" runat="server" Text="Meta Description:"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMetaDescription" MaxLength="2048" Width="700px" Height="180px"
                            runat="server" TextMode="MultiLine">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle">
                        <asp:Label ID="lblMetaKeyword" runat="server" Text="Meta Keywords:"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMetaKeyword" MaxLength="2048" Width="700px" Height="180px" runat="server"
                            TextMode="MultiLine">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle">
                        Content:
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtContent" MaxLength="500" Width="705px" Height="460px" runat="server"
                            TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="height: 40px;" valign="bottom">
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" OnClick="btnSave_Click"
                            CausesValidation="true" />
                        <asp:Button ID="btnCancel" runat="server" CssClass="button" Text="Cancel" OnClick="btnCancel_Click"
                            CausesValidation="false" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
